#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
int main(int argc, char const *argv[])
{
	time_t T;
	T = time(NULL);
	struct tm *l_time = localtime(&T);
	while (1)
	{
		system("clear");
		T = time(NULL);
		struct tm *l_time = localtime(&T);
		printf("%d年 %d月 %d日 ", l_time->tm_year + 1900, l_time->tm_mon + 1, l_time->tm_mday);
		printf("%d时 %d分 %d秒\n", l_time->tm_hour, l_time->tm_min, l_time->tm_sec + 1);
		sleep(1);
	}
	return 0;
}
